package org.geektimes.projects.user.management.mbean;

import java.lang.management.ClassLoadingMXBean;
import java.lang.management.ManagementFactory;

/**
 * @Author: jipeng
 * @Description:
 * @Date: Created in 2021/3/16 6:56
 */
public class PlatformJXMLMBeanDemo {

    public static void main(String[] args) {

        // 客户端去获取 ClassLoadingMXBean 对象（代理对象）
        ClassLoadingMXBean classLoadingMXBean = ManagementFactory.getClassLoadingMXBean();

        classLoadingMXBean.getLoadedClassCount();


    }


}
